/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * MarMbrPanel.java
 *
 * Created on 28.09.2011., 20.17.56
 */
package aor2.gui.cpu;

import aor2.cpu.InternBus;
import aor2.cpu.blockcontrol.ControlSignalSet;
import aor2.cpu.blockinterface.InterfaceBlock;
import aor2.cpu.blockinterface.SynchronizationBlock;
import aor2.systembus.SystemBus;
import java.awt.Graphics;

/**
 * 
 * @author Moxi
 */
// FIXME srediti sliku onog signala koji pusta MAR na magistralu
public class MarMbrPanel extends javax.swing.JPanel {

	private static MarMbrPanel singleton = null;

	public static MarMbrPanel getInstance() {
		if (singleton == null)
			singleton = new MarMbrPanel();
		return singleton;
	}

	private JLabelSet marSysOut, mbrIn, mbrLd, OEwrite, read;

	void initSignals() {
		marSysOut = new JLabelSet(false, jLabel30, jLabel46);
		mbrIn = new JLabelSet(false, jLabel34, jLabel36, jLabel38);
		OEwrite = new JLabelSet(false, OEwrite1, OEwrite2);
		read = new JLabelSet(false, jLabel43, jLabel47);
		mbrLd = new JLabelSet(false, jLabel37, jLabel39);
	}

	void refreshIndependentSignals() {
		ControlSignalSet ctrlSS = ControlSignalSet.getInstance();
		mxMar.setEnabled(ctrlSS.get("mxMar").isActive());
		mbrIn.setEnabled(ctrlSS.get("MBRin").isActive());
		marIN.setEnabled(ctrlSS.get("MARin").isActive());
		m1mbrout.setEnabled(ctrlSS.get("M1MBRout").isActive());
		m2mbrout.setEnabled(ctrlSS.get("M2MBRout").isActive());
		ffc.setEnabled(SynchronizationBlock.getInstance().getFfc().getOut()
				.isActive());
		read.setEnabled(ctrlSS.get("read").isActive());
		// TODO OEread OEwrite dffc ffc
	}

	void refreshValues() {
            
            if(SystemBus.getInstance().getDatabusHigh()){
                jLabel5.setText("Z");
                jLabel6.setText("Z");
                jLabel7.setText("Z");
            } else{

		jLabel5.setText("0x"
				+ Long.toHexString(
						SystemBus.getInstance().getDatabusState() & 0xFFFF)
						.toUpperCase());
		jLabel6.setText("0x"
				+ Long.toHexString(
						SystemBus.getInstance().getDatabusState() & 0xFFFF)
						.toUpperCase());
		jLabel7.setText("0x"
				+ Long.toHexString(
						SystemBus.getInstance().getDatabusState() & 0xFFFF)
						.toUpperCase());
            }
            
            if(SystemBus.getInstance().getAdressbusHigh()){
                jLabel44.setText("Z");
            }else
		jLabel44.setText("0x"
				+ Long.toHexString(
						SystemBus.getInstance().getAddressbusState() & 0xFFFF)
						.toUpperCase());

		// M1
                if(!InternBus.M1.isHighZ()){
		jLabel31.setText("0x"
				+ Long.toHexString(InternBus.M1.getState() & 0xFFFF)
						.toUpperCase());
		jLabel45.setText("0x"
				+ Long.toHexString(InternBus.M1.getState() & 0xFFFF)
						.toUpperCase());
		jLabel32.setText("0x"
				+ Long.toHexString(InternBus.M1.getState() & 0xFFFF)
						.toUpperCase());
                }
                else{
                    jLabel31.setText("Z");
                    jLabel32.setText("Z");
                    jLabel45.setText("Z");
                }
                
		// M2
                if(!InternBus.M2.isHighZ()){
		jLabel35.setText("0x"
				+ Long.toHexString(InternBus.M2.getState() & 0xFFFF)
						.toUpperCase());
		jLabel48.setText("0x"
				+ Long.toHexString(InternBus.M2.getState() & 0xFFFF)
						.toUpperCase());

		jLabel49.setText(mxMar.isEnabled() ? jLabel48.getText() : jLabel45
				.getText());
                }
                else{
                    jLabel35.setText("Z");
                    jLabel48.setText("Z");
                    jLabel49.setText("Z");
                }
		// mx iznad mbr
		jLabel41.setText(mbrIn.isEnabled() ? jLabel31.getText() : jLabel5
				.getText());

		jLabel40.setText("0x"
				+ Long.toHexString(
						InterfaceBlock.getInstance().mbr().getState() & 0xFFFF)
						.toUpperCase());
		jLabel42.setText("0x"
				+ Long.toHexString(
						InterfaceBlock.getInstance().mar().getState() & 0xFFFF)
						.toUpperCase());
	}

	void refreshDependentSignals() {
		OEread.setEnabled(SynchronizationBlock.getInstance().getOEread()
				.isActive());
		OEwrite.setEnabled(SynchronizationBlock.getInstance().getOEwrite()
				.isActive());
		marSysOut.setEnabled(OEread.isEnabled() || OEwrite.isEnabled());
		mbrLd.setEnabled(!dffc.isEnabled() & ffc.isEnabled() & read.isEnabled());
		ldMbr.setEnabled(mbrIn.isEnabled() || mbrLd.isEnabled());
	}

	/** Creates new form MarMbrPanel */
	private MarMbrPanel() {
		initComponents();
		initSignals();
		repaint();
	}

	@Override
	protected void paintComponent(Graphics g) {
		refreshIndependentSignals();
		refreshDependentSignals();
		refreshValues();
		super.paintComponent(g);
	}

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
	// desc="Generated Code">//GEN-BEGIN:initComponents
	private void initComponents() {
		java.awt.GridBagConstraints gridBagConstraints;

		jLayeredPane1 = new javax.swing.JLayeredPane();
		jLabel2 = new javax.swing.JLabel();
		jLabel3 = new javax.swing.JLabel();
		jLabel4 = new javax.swing.JLabel();
		mxMar = new javax.swing.JLabel();
		marIN = new javax.swing.JLabel();
		jLabel8 = new javax.swing.JLabel();
		jLabel9 = new javax.swing.JLabel();
		jLabel10 = new javax.swing.JLabel();
		jLabel11 = new javax.swing.JLabel();
		jLabel12 = new javax.swing.JLabel();
		jLabel13 = new javax.swing.JLabel();
		jLabel14 = new javax.swing.JLabel();
		jLabel15 = new javax.swing.JLabel();
		jLabel16 = new javax.swing.JLabel();
		jLabel17 = new javax.swing.JLabel();
		jLabel18 = new javax.swing.JLabel();
		jLabel19 = new javax.swing.JLabel();
		jLabel20 = new javax.swing.JLabel();
		jLabel21 = new javax.swing.JLabel();
		jLabel22 = new javax.swing.JLabel();
		jLabel23 = new javax.swing.JLabel();
		jLabel24 = new javax.swing.JLabel();
		jLabel25 = new javax.swing.JLabel();
		jLabel26 = new javax.swing.JLabel();
		jLabel27 = new javax.swing.JLabel();
		jLabel28 = new javax.swing.JLabel();
		jLabel29 = new javax.swing.JLabel();
		jLabel30 = new javax.swing.JLabel();
		OEread = new javax.swing.JLabel();
		OEwrite1 = new javax.swing.JLabel();
		jLabel33 = new javax.swing.JLabel();
		jLabel34 = new javax.swing.JLabel();
		ldMbr = new javax.swing.JLabel();
		jLabel36 = new javax.swing.JLabel();
		jLabel37 = new javax.swing.JLabel();
		jLabel38 = new javax.swing.JLabel();
		jLabel39 = new javax.swing.JLabel();
		m1mbrout = new javax.swing.JLabel();
		m2mbrout = new javax.swing.JLabel();
		OEwrite2 = new javax.swing.JLabel();
		jLabel43 = new javax.swing.JLabel();
		ffc = new javax.swing.JLabel();
		dffc = new javax.swing.JLabel();
		jLabel46 = new javax.swing.JLabel();
		jLabel47 = new javax.swing.JLabel();
		jLabel5 = new javax.swing.JLabel();
		jLabel6 = new javax.swing.JLabel();
		jLabel7 = new javax.swing.JLabel();
		jLabel31 = new javax.swing.JLabel();
		jLabel32 = new javax.swing.JLabel();
		jLabel35 = new javax.swing.JLabel();
		jLabel40 = new javax.swing.JLabel();
		jLabel41 = new javax.swing.JLabel();
		jLabel42 = new javax.swing.JLabel();
		jLabel44 = new javax.swing.JLabel();
		jLabel45 = new javax.swing.JLabel();
		jLabel48 = new javax.swing.JLabel();
		jLabel49 = new javax.swing.JLabel();
		jLabel1 = new javax.swing.JLabel();

		setLayout(new java.awt.GridBagLayout());

		jLayeredPane1.setBackground(new java.awt.Color(255, 255, 255));
		jLayeredPane1.setEnabled(false);

		jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel2.setBounds(377, 13, 10, 50);
		jLayeredPane1.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel3.setBounds(413, 13, 4, 50);
		jLayeredPane1.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel4.setBounds(394, 134, 36, 48);
		jLayeredPane1.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

		mxMar.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		mxMar.setText("jLabel5");
		mxMar.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		mxMar.setEnabled(false);
		mxMar.setBounds(310, 91, 38, 14);
		jLayeredPane1.add(mxMar, javax.swing.JLayeredPane.DEFAULT_LAYER);

		marIN.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		marIN.setText("jLabel6");
		marIN.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		marIN.setEnabled(false);
		marIN.setBounds(215, 193, 38, 14);
		jLayeredPane1.add(marIN, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel8.setText("jLabel8");
		jLabel8.setBounds(414, 488, 320, 14);
		jLayeredPane1.add(jLabel8, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel9.setText("jLabel9");
		jLabel9.setBounds(245, 428, 450, 14);
		jLayeredPane1.add(jLabel9, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel10.setText("jLabel10");
		jLabel10.setBounds(320, 908, 250, 14);
		jLayeredPane1.add(jLabel10, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel11.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel11.setText("jLabel11");
		jLabel11.setBounds(13, 488, 365, 14);
		jLayeredPane1.add(jLabel11, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel12.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel12.setText("jLabel12");
		jLabel12.setBounds(13, 870, 350, 14);
		jLayeredPane1.add(jLabel12, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel13.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel13.setText("jLabel13");
		jLabel13.setBounds(588, 872, 145, 14);
		jLayeredPane1.add(jLabel13, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel14.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_2pt_z.jpg"))); // NOI18N
		jLabel14.setText("jLabel14");
		jLabel14.setBounds(288, 775, 302, 14);
		jLayeredPane1.add(jLabel14, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel15.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel15.setBounds(394, 615, 7, 48);
		jLayeredPane1.add(jLabel15, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel16.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel16.setBounds(394, 735, 7, 48);
		jLayeredPane1.add(jLabel16, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel17.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel17.setBounds(588, 839, 7, 39);
		jLayeredPane1.add(jLabel17, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel18.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel18.setBounds(588, 780, 7, 42);
		jLayeredPane1.add(jLabel18, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel19.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel19.setBounds(287, 837, 7, 39);
		jLayeredPane1.add(jLabel19, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel20.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel20.setBounds(287, 780, 7, 42);
		jLayeredPane1.add(jLabel20, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel21.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel21.setBounds(11, 360, 7, 545);
		jLayeredPane1.add(jLabel21, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel22.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel22.setBounds(394, 332, 7, 103);
		jLayeredPane1.add(jLabel22, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel23.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel23.setBounds(443, 782, 7, 42);
		jLayeredPane1.add(jLabel23, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel24.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel24.setBounds(443, 840, 7, 74);
		jLayeredPane1.add(jLabel24, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel25.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel25.setBounds(731, 360, 7, 545);
		jLayeredPane1.add(jLabel25, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel26.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel26.setBounds(394, 256, 7, 62);
		jLayeredPane1.add(jLabel26, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel27.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel27.setBounds(414, 494, 7, 49);
		jLayeredPane1.add(jLabel27, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel28.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_2pt_z.jpg"))); // NOI18N
		jLabel28.setBounds(377, 494, 7, 49);
		jLayeredPane1.add(jLabel28, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel29.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel29.setText("jLabel29");
		jLabel29.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel29.setBounds(445, 91, 48, 14);
		jLayeredPane1.add(jLabel29, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel30.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel30.setText("jLabel30");
		jLabel30.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel30.setBounds(407, 295, 95, 14);
		jLayeredPane1.add(jLabel30, javax.swing.JLayeredPane.DEFAULT_LAYER);

		OEread.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		OEread.setText("jLabel31");
		OEread.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		OEread.setEnabled(false);
		OEread.setBounds(528, 290, 15, 14);
		jLayeredPane1.add(OEread, javax.swing.JLayeredPane.DEFAULT_LAYER);

		OEwrite1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		OEwrite1.setText("jLabel32");
		OEwrite1.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		OEwrite1.setBounds(530, 301, 15, 14);
		jLayeredPane1.add(OEwrite1, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel33.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel33.setText("jLabel33");
		jLabel33.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel33.setBounds(445, 571, 46, 14);
		jLayeredPane1.add(jLabel33, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel34.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel34.setText("jLabel34");
		jLabel34.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel34.setBounds(127, 571, 223, 14);
		jLayeredPane1.add(jLabel34, javax.swing.JLayeredPane.DEFAULT_LAYER);

		ldMbr.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		ldMbr.setText("jLabel35");
		ldMbr.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		ldMbr.setEnabled(false);
		ldMbr.setBounds(219, 673, 33, 14);
		jLayeredPane1.add(ldMbr, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel36.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel36.setText("jLabel36");
		jLabel36.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel36.setBounds(144, 668, 48, 14);
		jLayeredPane1.add(jLabel36, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel37.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel37.setText("jLabel37");
		jLabel37.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel37.setBounds(133, 679, 58, 14);
		jLayeredPane1.add(jLabel37, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel38.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel38.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel38.setBounds(144, 578, 8, 98);
		jLayeredPane1.add(jLabel38, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel39.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel39.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel39.setBounds(132, 686, 8, 62);
		jLayeredPane1.add(jLabel39, javax.swing.JLayeredPane.DEFAULT_LAYER);

		m1mbrout.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		m1mbrout.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		m1mbrout.setEnabled(false);
		m1mbrout.setBounds(600, 807, 8, 23);
		jLayeredPane1.add(m1mbrout, javax.swing.JLayeredPane.DEFAULT_LAYER);

		m2mbrout.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		m2mbrout.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		m2mbrout.setEnabled(false);
		m2mbrout.setBounds(456, 805, 8, 25);
		jLayeredPane1.add(m2mbrout, javax.swing.JLayeredPane.DEFAULT_LAYER);

		OEwrite2.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		OEwrite2.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		OEwrite2.setEnabled(false);
		OEwrite2.setBounds(300, 805, 8, 25);
		jLayeredPane1.add(OEwrite2, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel43.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel43.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel43.setBounds(138, 778, 8, 28);
		jLayeredPane1.add(jLabel43, javax.swing.JLayeredPane.DEFAULT_LAYER);

		ffc.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		ffc.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		ffc.setEnabled(false);
		ffc.setBounds(132, 780, 8, 80);
		jLayeredPane1.add(ffc, javax.swing.JLayeredPane.DEFAULT_LAYER);

		dffc.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		dffc.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		dffc.setEnabled(false);
		dffc.setBounds(126, 785, 8, 30);
		jLayeredPane1.add(dffc, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel46.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
		jLabel46.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
		jLabel46.setBounds(407, 303, 20, 24);
		jLayeredPane1.add(jLabel46, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel47.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
		jLabel47.setText("jLabel47");
		jLabel47.setDisabledIcon(new javax.swing.ImageIcon(getClass()
				.getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
		jLabel47.setBounds(138, 800, 35, 14);
		jLayeredPane1.add(jLabel47, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel5.setBounds(20, 420, 90, 20);
		jLayeredPane1.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel6.setBounds(170, 470, 90, 20);
		jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel7.setBounds(20, 860, 90, 20);
		jLayeredPane1.add(jLabel7, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel31.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel31.setText("jLabel31");
		jLabel31.setBounds(670, 630, 60, 30);
		jLayeredPane1.add(jLabel31, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel32.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel32.setText("jLabel32");
		jLabel32.setBounds(540, 480, 40, 14);
		jLayeredPane1.add(jLabel32, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel35.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel35.setText("jLabel35");
		jLabel35.setBounds(450, 890, 40, 14);
		jLayeredPane1.add(jLabel35, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel40.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel40.setText("jLabel40");
		jLabel40.setBounds(420, 760, 40, 14);
		jLayeredPane1.add(jLabel40, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel41.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel41.setText("jLabel41");
		jLabel41.setBounds(400, 630, 40, 14);
		jLayeredPane1.add(jLabel41, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel42.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel42.setText("jLabel42");
		jLabel42.setBounds(400, 270, 40, 14);
		jLayeredPane1.add(jLabel42, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel44.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jLabel44.setText("jLabel44");
		jLabel44.setBounds(410, 400, 40, 14);
		jLayeredPane1.add(jLabel44, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel45.setText("jLabel45");
		jLabel45.setBounds(320, 20, 40, 14);
		jLayeredPane1.add(jLabel45, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel48.setText("jLabel48");
		jLabel48.setBounds(430, 20, 40, 14);
		jLayeredPane1.add(jLabel48, javax.swing.JLayeredPane.DEFAULT_LAYER);

		jLabel49.setText("jLabel49");
		jLabel49.setBounds(400, 150, 40, 14);
		jLayeredPane1.add(jLabel49, javax.swing.JLayeredPane.DEFAULT_LAYER);

		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		add(jLayeredPane1, gridBagConstraints);

		jLabel1.setBackground(new java.awt.Color(255, 255, 255));
		jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(
				"/aor2/common/resources/MARMBR.jpg"))); // NOI18N
		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		add(jLabel1, gridBagConstraints);
	}// </editor-fold>//GEN-END:initComponents
		// Variables declaration - do not modify//GEN-BEGIN:variables

	private javax.swing.JLabel OEread;
	private javax.swing.JLabel OEwrite1;
	private javax.swing.JLabel OEwrite2;
	private javax.swing.JLabel dffc;
	private javax.swing.JLabel ffc;
	private javax.swing.JLabel jLabel1;
	private javax.swing.JLabel jLabel10;
	private javax.swing.JLabel jLabel11;
	private javax.swing.JLabel jLabel12;
	private javax.swing.JLabel jLabel13;
	private javax.swing.JLabel jLabel14;
	private javax.swing.JLabel jLabel15;
	private javax.swing.JLabel jLabel16;
	private javax.swing.JLabel jLabel17;
	private javax.swing.JLabel jLabel18;
	private javax.swing.JLabel jLabel19;
	private javax.swing.JLabel jLabel2;
	private javax.swing.JLabel jLabel20;
	private javax.swing.JLabel jLabel21;
	private javax.swing.JLabel jLabel22;
	private javax.swing.JLabel jLabel23;
	private javax.swing.JLabel jLabel24;
	private javax.swing.JLabel jLabel25;
	private javax.swing.JLabel jLabel26;
	private javax.swing.JLabel jLabel27;
	private javax.swing.JLabel jLabel28;
	private javax.swing.JLabel jLabel29;
	private javax.swing.JLabel jLabel3;
	private javax.swing.JLabel jLabel30;
	private javax.swing.JLabel jLabel31;
	private javax.swing.JLabel jLabel32;
	private javax.swing.JLabel jLabel33;
	private javax.swing.JLabel jLabel34;
	private javax.swing.JLabel jLabel35;
	private javax.swing.JLabel jLabel36;
	private javax.swing.JLabel jLabel37;
	private javax.swing.JLabel jLabel38;
	private javax.swing.JLabel jLabel39;
	private javax.swing.JLabel jLabel4;
	private javax.swing.JLabel jLabel40;
	private javax.swing.JLabel jLabel41;
	private javax.swing.JLabel jLabel42;
	private javax.swing.JLabel jLabel43;
	private javax.swing.JLabel jLabel44;
	private javax.swing.JLabel jLabel45;
	private javax.swing.JLabel jLabel46;
	private javax.swing.JLabel jLabel47;
	private javax.swing.JLabel jLabel48;
	private javax.swing.JLabel jLabel49;
	private javax.swing.JLabel jLabel5;
	private javax.swing.JLabel jLabel6;
	private javax.swing.JLabel jLabel7;
	private javax.swing.JLabel jLabel8;
	private javax.swing.JLabel jLabel9;
	private javax.swing.JLayeredPane jLayeredPane1;
	private javax.swing.JLabel ldMbr;
	private javax.swing.JLabel m1mbrout;
	private javax.swing.JLabel m2mbrout;
	private javax.swing.JLabel marIN;
	private javax.swing.JLabel mxMar;
	// End of variables declaration//GEN-END:variables
}
